
#ifndef SAVEGAME_H
#define SAVEGAME_H

#include <string> 
#include "AchievementData.h"
#include "defs.h"

struct SaveAchievementData
{
    bool bUnlocked;
    int iProgress;
};

struct SaveBabyData
{
    bool bUnlocked;
//    bool bActive;
//    int iLevel;
    int iPrizesCollected;
};

struct SaveGame
{
public:
    //options
    bool bMusic;
    bool bSfx;
    bool bGameCenter;
    bool bGameCenterAsked;
    bool bAccelerometer;
    
    // general info
    int iBabiesFedMax;
    int iBabiesFedTotal;
    int iCoins;
    int iCoinsTotal;
    int iCoinsSpent;
    int iGamesTotal;
    int iPrizesTotal;
    int iChainMax;
    
    // specific achievement data
    int iLastDayPlayed;
    //int iBoletsUsed;
	
	//shop items
	//bool baUpgrades[UPGRADES_COUNT];
    //int iaPowerUps[POWERUPS_TYPE_COUNT];
    
    //babies
    SaveBabyData sBabyData[MAX_BABY_TYPES];
    
    //Achievements
    SaveAchievementData sAchievementData[MAX_ACHIEVEMENTS];
};

#endif
